﻿using MyCode.Project.Domain.Message.Request.Act;
using MyCode.Project.Domain.Message.Response.ServiceOrder;
using MyCode.Project.Domain.Message.Response.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Act.SalesSheetPay
{
    /// <summary>
    /// 
    /// </summary>
    public class SalesSheetOnlinePayAct
    {
        /// <summary>
        /// 订单ID，销售订单ID/预售订单ID
        /// </summary>
        public Guid SheetId { get; set; }

        /// <summary>
        /// 订单来源，1销售单，2预售单
        /// </summary>
        public int RefType { get; set; }

        /// <summary>
        /// 支付方式，0=现金；1=银行卡（非对接）；3=会员余额；4=积分金额；11=支付宝；12=微信;21=美团;22=有赞;23=口碑,25=抖音
        /// </summary>       
        public int PayMode { get; set; }        

        /// <summary>
        /// 应收金额
        /// </summary>
        public decimal? Amount { get; set; }

        /// <summary>
        /// 优惠券ID
        /// </summary>
        public Guid? CouponId { get; set; }

        /// <summary>
        /// 使用余额
        /// </summary>
        public decimal Balance { get; set; }

        /// <summary>
        /// 折扣(传小数，比如9.8折，传0.98)
        /// </summary>
        public decimal? Discount { get; set; }

        /// <summary>
        /// 一口价金额
        /// </summary>
        public decimal? DirectAmount { get; set; }

        /// <summary>
        /// 是否赠送护理次数  0=不送 ; 1=赠送
        /// </summary>
        public int? IfHandsel { get; set; }

        /// <summary>
        /// 赠送的护理次数
        /// </summary>
        public int? HandselQty { get; set; }
        /// <summary>
        /// 赠送护理次数选中的套餐ID
        /// </summary>
        public List<Guid> HandselItems { get; set; }

        /// <summary>
        /// 购物的会员
        /// </summary>
        public Guid? MemberID { get; set; }

        /// <summary>
        /// 赠送的服务和次数列表
        /// </summary>
        public List<ServiceInvInfo> ServiceInvInfo { get; set; }




    }

    public class TuanGouConfirmPayOnlineAct
    {
        public DouYinOnlinePayAct Act { get; set; }

        public LoginInfo CurrentLoginInfo { get; set; }
    }
}
